<!DOCTYPE html>
<ul>
  <li style="background:lime">This list item should have green background because its class is &quot;t1&quot;</li>
  <li style="background:lime">This list item should have green background because its class is &quot;t2&quot;</li>
  <li style="background:lime">This list item should have green background because the inner SPAN does not match SPAN.t3</li>
</ul>
